BoundsCompat

Class representing the range of an WindowInsetsAnimationCompat

Constructors

Link copied to clipboard
constructor(@NonNull lowerBound: @NonNull Insets, @NonNull upperBound: @NonNull Insets)

Functions

Link copied to clipboard
@NonNull
open fun getLowerBound(): @NonNull Insets
Queries the lower inset bound of the animation.
Link copied to clipboard
@NonNull
open fun getUpperBound(): @NonNull Insets
Queries the upper inset bound of the animation.
Link copied to clipboard
@NonNull
open fun inset(@NonNull insets: @NonNull Insets): @NonNull WindowInsetsAnimationCompat.BoundsCompat
Insets both the lower and upper bound by the specified insets.
Link copied to clipboard
@RequiresApi(value = 30)
open fun toBounds(): @NonNull WindowInsetsAnimation.Bounds
Creates a new instance of WindowInsetsAnimation.Bounds from this compat instance.
Link copied to clipboard
@RequiresApi(value = 30)
@NonNull
open fun toBoundsCompat(bounds: @NonNull WindowInsetsAnimation.Bounds): @NonNull WindowInsetsAnimationCompat.BoundsCompat
Create a new insance of BoundsCompat using the provided platform android.view.WindowInsetsAnimation.Bounds.
Link copied to clipboard
open fun toString(): String